﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020002C5 RID: 709
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueUpdateBoardScNotify : IMessage<ChessRogueUpdateBoardScNotify>, IMessage, IEquatable<ChessRogueUpdateBoardScNotify>, IDeepCloneable<ChessRogueUpdateBoardScNotify>, IBufferMessage
	{
		// Token: 0x1700093F RID: 2367
		// (get) Token: 0x06001FD6 RID: 8150 RVA: 0x0005AA9D File Offset: 0x00058C9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueUpdateBoardScNotify> Parser
		{
			get
			{
				return ChessRogueUpdateBoardScNotify._parser;
			}
		}

		// Token: 0x17000940 RID: 2368
		// (get) Token: 0x06001FD7 RID: 8151 RVA: 0x0005AAA4 File Offset: 0x00058CA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueUpdateBoardScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000941 RID: 2369
		// (get) Token: 0x06001FD8 RID: 8152 RVA: 0x0005AAB6 File Offset: 0x00058CB6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueUpdateBoardScNotify.Descriptor;
			}
		}

		// Token: 0x06001FD9 RID: 8153 RVA: 0x0005AABD File Offset: 0x00058CBD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueUpdateBoardScNotify()
		{
		}

		// Token: 0x06001FDA RID: 8154 RVA: 0x0005AAC5 File Offset: 0x00058CC5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueUpdateBoardScNotify(ChessRogueUpdateBoardScNotify other) : this()
		{
			this.nNIMIBKLAPI_ = ((other.nNIMIBKLAPI_ != null) ? other.nNIMIBKLAPI_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001FDB RID: 8155 RVA: 0x0005AAFA File Offset: 0x00058CFA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueUpdateBoardScNotify Clone()
		{
			return new ChessRogueUpdateBoardScNotify(this);
		}

		// Token: 0x17000942 RID: 2370
		// (get) Token: 0x06001FDC RID: 8156 RVA: 0x0005AB02 File Offset: 0x00058D02
		// (set) Token: 0x06001FDD RID: 8157 RVA: 0x0005AB0A File Offset: 0x00058D0A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CellInfo NNIMIBKLAPI
		{
			get
			{
				return this.nNIMIBKLAPI_;
			}
			set
			{
				this.nNIMIBKLAPI_ = value;
			}
		}

		// Token: 0x06001FDE RID: 8158 RVA: 0x0005AB13 File Offset: 0x00058D13
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueUpdateBoardScNotify);
		}

		// Token: 0x06001FDF RID: 8159 RVA: 0x0005AB21 File Offset: 0x00058D21
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueUpdateBoardScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.NNIMIBKLAPI, other.NNIMIBKLAPI) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06001FE0 RID: 8160 RVA: 0x0005AB54 File Offset: 0x00058D54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.nNIMIBKLAPI_ != null)
			{
				num ^= this.NNIMIBKLAPI.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001FE1 RID: 8161 RVA: 0x0005AB90 File Offset: 0x00058D90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001FE2 RID: 8162 RVA: 0x0005AB98 File Offset: 0x00058D98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001FE3 RID: 8163 RVA: 0x0005ABA1 File Offset: 0x00058DA1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.nNIMIBKLAPI_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.NNIMIBKLAPI);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001FE4 RID: 8164 RVA: 0x0005ABD4 File Offset: 0x00058DD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.nNIMIBKLAPI_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.NNIMIBKLAPI);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001FE5 RID: 8165 RVA: 0x0005AC14 File Offset: 0x00058E14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueUpdateBoardScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.nNIMIBKLAPI_ != null)
			{
				if (this.nNIMIBKLAPI_ == null)
				{
					this.NNIMIBKLAPI = new CellInfo();
				}
				this.NNIMIBKLAPI.MergeFrom(other.NNIMIBKLAPI);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001FE6 RID: 8166 RVA: 0x0005AC68 File Offset: 0x00058E68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001FE7 RID: 8167 RVA: 0x0005AC74 File Offset: 0x00058E74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 122U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.nNIMIBKLAPI_ == null)
					{
						this.NNIMIBKLAPI = new CellInfo();
					}
					input.ReadMessage(this.NNIMIBKLAPI);
				}
			}
		}

		// Token: 0x04000D19 RID: 3353
		private static readonly MessageParser<ChessRogueUpdateBoardScNotify> _parser = new MessageParser<ChessRogueUpdateBoardScNotify>(() => new ChessRogueUpdateBoardScNotify());

		// Token: 0x04000D1A RID: 3354
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000D1B RID: 3355
		public const int NNIMIBKLAPIFieldNumber = 15;

		// Token: 0x04000D1C RID: 3356
		private CellInfo nNIMIBKLAPI_;
	}
}
